package io.renren.modules.user.dao;

import io.renren.modules.user.entity.TPeopleChangeTemporaryEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 
 * 
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2019-09-20 18:44:49
 */
@Mapper
public interface TPeopleChangeTemporaryDao extends BaseMapper<TPeopleChangeTemporaryEntity> {

    /**
     * 查询列表
     * @param temporaryEntity
     * @return
     */
    List<TPeopleChangeTemporaryEntity> getTPeopleTemporary(TPeopleChangeTemporaryEntity temporaryEntity);
    /**
     * 查询  选过之后的
     */
    List<TPeopleChangeTemporaryEntity> getTPeople(TPeopleChangeTemporaryEntity temporaryEntity);
    /**
     * 删除数据
     */
    int del();
    /**
     * 修改状态
     */
    int updateState(TPeopleChangeTemporaryEntity temporaryEntity);
}
